import trestle.rst


def setup(app):
    app.add_directive('fixtures', trestle.rst.FixtureDirective)
    app.add_directive('request', trestle.rst.RequestDirective)
    app.add_directive('response', trestle.rst.ResponseDirective)
    app.add_directive('shell', trestle.rst.ShellDirective)
    # FIXME can this be made an automatic relative path
    # between the configured static dir and this file?
    app.add_stylesheet('trestle.css')
